<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:f="http://java.sun.com/jsf/core">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Form | Starlight Premium Admin Template</title>
        <link rel="stylesheet" href="css/style.css" type="text/css" />    
        <script type="text/javascript" src="js/plugins/jquery-1.7.min.js"></script>
        <script type="text/javascript" src="js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
        <script type="text/javascript" src="js/plugins/jquery.validate.min.js"></script>
        <script type="text/javascript" src="js/custom/general.js"></script>
        <script type="text/javascript" src="js/custom/form.js"></script>
        <!--[if lt IE 9]>
                <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
        <![endif]-->
    </head>

    <body class="loggedin">

        <!-- START OF HEADER -->
        <div class="header radius3">
            <div class="headerinner">

                <a href="#"><img src="images/starlight_admin_template_logo_small.png" alt="" /></a>


                <div class="headright">
                    <div class="headercolumn">&nbsp;</div>
                    <div id="searchPanel" class="headercolumn">
                        <div class="searchbox">
                            <form action="#" method="post">
                                <input type="text" id="keyword" name="keyword" class="radius2" value="Search here" /> 
                            </form>
                        </div><!--searchbox-->
                    </div><!--headercolumn-->
                    <div id="notiPanel" class="headercolumn">
                        <div class="notiwrapper">
                            <a href="ajax/messages.html" class="notialert radius2">5</a>
                            <div class="notibox">
                                <ul class="tabmenu">
                                    <li class="current"><a href="ajax/messages.html" class="msg">Messages (2)</a></li>
                                    <li><a href="ajax/activities.html" class="act">Recent Activity (3)</a></li>
                                </ul>
                                <br clear="all" />
                                <div class="loader"><img src="images/loaders/loader3.gif" alt="Loading Icon" /> Loading...</div>
                                <div class="noticontent"></div><!--noticontent-->
                            </div><!--notibox-->
                        </div><!--notiwrapper-->
                    </div><!--headercolumn-->
                    <div id="userPanel" class="headercolumn">
                        <a href="#" class="userinfo radius2">
                            <img src="images/avatar.png" alt="" class="radius2" />
                            <span><strong>Justin Meller</strong></span>
                        </a>
                        <div class="userdrop">
                            <ul>
                                <li><a href="#">Profile</a></li>                                
                                <li><h:form><h:commandLink action="#{loginBean.logOut()}">Logout</h:commandLink></h:form></li>
                            </ul>
                        </div><!--userdrop-->
                    </div><!--headercolumn-->
                </div><!--headright-->

            </div><!--headerinner-->
        </div><!--header-->
        <!-- END OF HEADER -->

        <!-- START OF MAIN CONTENT -->
        <div class="mainwrapper">
            <div class="mainwrapperinner">

                <div class="mainleft">
                    <div class="mainleftinner">

                        <div class="leftmenu">
                            <ul>
                                <li><a href="home.xhtml" class="dashboard"><span>Accounts</span></a></li>
                                <li ><a href="professional.xhtml" class="widgets"><span>professional</span></a>
                                </li>
                                <li><a href="ReligionManager.xhtml" class="tables"><span>RELIGION</span></a></li>
                                <li><a href="citiesManager.xhtml" class="elements"><span>CityManager</span></a></li>
                                <li><a href="countryManager.xhtml" class="charts"><span>CountryManager</span></a></li>
                                <li><a href="casteManager.xhtml" class="grid"><span>CasteManager</span></a>                                                   
                                    <li class="current"><a href="updateCaste.xhtml"><span>Update Caste</span></a></li>
                                </li>  
                                <li><a href="paymentManager.xhtml" class="editor menudrop active"><span>Payment</span></a></li>
                                <li><a href="ImagerManager.xhtml" class="media"><span>ImageManager</span></a></li>
                                <li><a href="FeedbackManager.xhtml" class="tables"><span>FeedBackManager</span></a></li>
                                <li><a href="Advertisement.xhtml" class="charts"><span>Advertisement</span></a></li>
                            </ul>

                        </div><!--leftmenu-->
                        <div id="togglemenuleft"><a></a></div>
                    </div><!--mainleftinner-->
                </div><!--mainleft-->

                <div class="maincontent noright">
                    <div class="maincontentinner">
                        <div class="content">

                            <br clear="all" /><br />

                            <div class="contenttitle">
                                <h2 class="form"><span>Update Professional</span></h2>
                            </div><!--contenttitle-->

                            <br />
                            <f:view>
                                <h:form id="form2" class="stdform stdform2">

                                    <p>
                                        <label>Professional Id</label>
                                        <span class="field">
                                            <h:inputHidden value="#{casteBean.cateID}"/>
                                            <h:outputText value="#{casteBean.cateID}" class="longinput"/>
                                        </span>
                                    </p>
                                    <p>
                                        <label>Professional Status</label>
                                        <span class="field">
                                            <h:selectBooleanCheckbox  value="#{casteBean.catestatus}"/>
                                        </span>
                                    </p>

                                    <p>
                                        <label>Professional Name</label>
                                        <span class="field">
                                            <h:inputText value="#{casteBean.cateName}" required="true" requiredMessage="*can not null" id="name"  class="longinput"/>
                                            <h:message for="name" errorStyle="color:red"/>
                                        </span>
                                    </p>
                                    <p class="stdformbutton">
                                        <h:commandButton value="Update" class="submit radius2" actionListener="#{casteBean.sua()}"/>
                                        <h:commandButton value="Reset " class="reset radius2" actionListener="#{casteBean.reset()}" />  
                                    </p>
                                </h:form>
                            </f:view>
                            <br clear="all" />

                        </div><!--content-->

                    </div><!--maincontentinner-->

                    <div class="footer">
                        <p>Matrimony Admin Template &copy; 2013 All Rights Reserved. Designed by: <a href="#">Matrimony.com</a></p>
                    </div><!--footer-->

                </div><!--maincontent-->

            </div><!--mainwrapperinner-->
        </div><!--mainwrapper-->
        <!-- END OF MAIN CONTENT -->


    </body>

</html>
